﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using System;
using System.Collections.Generic;
using System.Text;
namespace NP.BPMReportPlatform.IUDefectiveProduct.Dto
{
    public class IUDefectiveOutput
    {
        //// <summary>
        //// 序号
        /// </summary>
        [ExporterHeader(DisplayName = "序号")]
        public string SerialNumber { get; set; }
        /// <summary>
        /// 流程编号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 事业部
        /// </summary>
        [ExporterHeader(DisplayName = "事业部")]
        public string BusinessDivision { get; set; }

        /// <summary>
        /// 生产工厂
        /// </summary>
        [ExporterHeader(DisplayName = "生产工厂")]
        public string Company { get; set; }

        /// <summary>
        /// 客户行业
        /// </summary>
        [ExporterHeader(DisplayName = "客户行业")]
        public string BusinessDivisionType { get; set; }

        /// <summary>
        /// 待改制产品名称
        /// </summary>
        [ExporterHeader(DisplayName = "待改制产品名称")]
        public string ProductNo { get; set; }

        /// <summary>
        /// 待改制SAP物料编码
        /// </summary>
        [ExporterHeader(DisplayName = "待改制SAP物料编码")]
        public string ProductName { get; set; }

        /// <summary>
        /// 待改制批次
        /// </summary>
        [ExporterHeader(DisplayName = "待改制批次")]
        public string ProductGZPC1 { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "客户名称")]
        public string CustomerName { get; set; }
         

        /// <summary>
        /// 创建人
        /// </summary>
        [ExporterHeader(DisplayName = "创建人")]
        public string UserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "创建时间")]
        public string CreateTime { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

         
        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }
    }
}
